package com.ygqh.baby.service;

import com.ygqh.baby.model.EditBargainDetailReq;
import com.ygqh.baby.po.YgBargain;
import com.ygqh.baby.po.YgBargainDetail;

import java.util.Date;
import java.util.List;

public interface YgBargainDetailService {

    int editBargainDetail(List<EditBargainDetailReq> detailList);

    List<YgBargainDetail> findByBargainId(Long bargainId);

    List<Long> getProductIdsInOtherBargain(Long excludedBargainId, List<Long> productIdList, Date startDate, Date endDate);

    List<YgBargainDetail> findDetailByBargainId(Long id);
}
